<template>
  <div>
    <h3>Child组件</h3>
    <div>{{ info }}</div>
  </div>
</template>

<script lang='ts' setup>
import {inject} from 'vue'
const info=inject('gileskey')
</script>

<style lang='scss' scoped>
</style>